html{
    font-size: 62.5%;
    color: #757575;
    font-family: '微软雅黑';
}
main{
    background-image: url('../img/order/bac.jpg');
    background-size: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
figure{
    margin: 0px;
}

/* 导航 */
.asideFlag{
    line-height: 5rem;
    border-top:1px dotted  #888;
    border-bottom:1px dotted  #888;
    letter-spacing:0.2rem;
    width: 80%;
    padding: 0 10%;
}

.asideFlag a{
    text-decoration: none;
}

.asideFlag a,
.titles{
    color: #595959;
    font-size: 1.4rem;
}

/* 主要内容 */
.mianconten{
    width: 80%;
    margin: 4rem auto;
    background: white;
    display: flex;
    justify-content: space-between;
}

/* 模块1主要商品展示 */
.leftGoods{
    width: 78%;
}

.leftGoodsImg{
    position: relative;
    z-index: 1;
    width: 30%;
    margin-left: 4rem;
}

.imgShow{
    border: 1px solid #ccc;
    width: 26%;
    position: absolute;
    z-index: 1;
    display: none;
}

.leftGoodsImg:hover~.imgShow{
    display: inline-block;
}

.content{
    width: 100%;
    position: relative;
    display: inline-block;
    width: 52%;
    margin-left: 4rem;
}

.leftGoodsH6{
    color: #0c0c0c;
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 2rem;
}

hr{
    border: 1.2px solid #dddddd;
    width: 10%;
    position: absolute;
    left: 0px;

}

.content h5{
    font-size: 32px;
    font-weight: normal;
    color: #000000;
    font-family: tahoma;
    line-height: 32px;
    margin: 4rem 2rem 2rem 0px;
}

.content p{
    font-size: 12px;
    color: rgb(119, 119, 119);
    padding: 1rem;
    margin: 0px;
}

.content p:nth-of-type(1){
    border-top:1px dotted rgb(221, 221, 221);
    border-bottom:1px dotted rgb(221, 221, 221);
}

.counterDiv{
    margin-top: 1rem;
    width: 143%;
    display: flex;
    justify-content: flex-start;
}

.counterDiv button{
    font-size: 1.4rem;
    color: #ffffff;
    border-color: #000000;
    background-color: #000000;
    padding: 1.5rem 4rem;
}

.counter{
    display: inline-block;
    width: 9.8rem;
    height: 4.6rem;
    border: 1px solid #cccccc;
    margin-left: 2rem;
}

.counterSpan{
    float: left;
    width: 3.2rem;
    text-align: center;
    line-height:  4.7rem;
    cursor: pointer;
}

.counterSpan+.counterSpan{
    border-left: 1px solid #cccccc;
}

.counterSpanInput{
    width: 100%;
    padding: 0px;
    border: none;
    text-align: center;
    height: 4.6rem;
}

.smallPic{
    clear: both;
    margin: 2rem;
    padding: 1rem;
    cursor: pointer;
}

@media only screen and (max-width:68.75em) and (min-width:50em){
    .rigthGoods .rigthGoodsDiv h4,.rigthGoods .rigthGoodsDiv p{
        font-size: 1.1rem;
    }
    .hotTitle {
        font-size: 1rem;
    }

}

@media only screen and (max-width:50em){
    .leftGoods {
        width: 100%;
    }
    main{
        margin-bottom: 40px;
    }
    .leftGoodsImg{
        width: 100%;
        margin: 0px;
    }
    .leftGoodsImg:hover~.imgShow{
        display: none;
    }

}
@media only screen and (max-width:30em){
    .counterDiv button {
        font-size: 1rem;
        padding: 0 4px;
    }
    .counter {
        margin-left: 1rem;
    }
}

/* 模块2用户评论 */
.comment{
    clear: both;
    margin: 2rem;
    padding: 1rem;
}

.comment h4{
    font-size: 1.4rem;
    color: #333;
    padding: 1rem 1.5rem;
    position: relative;
    border-top:1px solid #ccc ;
}

.comment h4::before{
    content: '';
    width: 150px;
    height: 4px;
    background-color: #333;
    position: absolute;
    top: 0px;
    left: 0px;
}

.comment div{
    border-top:3px solid #eee ;
}
.comment div p{
    font-size: 1.3rem;
    color: #666;
}

/* 模块3相关商品 */
.otherGoods{
    border-top:1px solid #eee ;
    margin: 2rem;
    padding: 1rem;
    box-sizing: border-box;
}

.otherGoods h3{
    color: #555;
    font-size: 1.4rem;
}


.otherGoodsDiv{
    display: flex;
    justify-content: flex-start;
}
.otherGoodsImg{
    display: inline-block;
    box-sizing: border-box;
    cursor:pointer;
}
.leftGoodsaboutimg{
    width: 100%;
}

.eftGoodsaboutH6{
    color: #494949;
    font-size: 1.3rem;
    font-weight: normal;
    margin-bottom: 0px;
}

.otherGoodsImg figcaption p{
    font-size: 1.6rem;
    color: #aaa;
}

@media only screen and (max-width:50em){
    .otherGoodsDiv{
        display: inline-block;
    }
    .otherGoodsImg{
        width: 49%;
    }
}

/* 模块4侧边品牌信息 */
.rigthGoods{
    width: 20%;
    margin: 2rem;
}
.rigthGoodsDiv h4{
    line-height: 1.5em;
    background-color: #000000;
    padding: 1.2rem 1.2rem 0.8rem 1.2rem ;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0px;
}

.rigthGoodsDiv p{
    color: #000;
    font-size: 1.3rem;
    padding: 10px 12px;
    margin: 0px;
}

.rigthGoodsDiv p:nth-of-type(even){
    background-color: #f4f4f4;
}

.hotTitle{
    font-size: 1.3rem;
    color: #000;
    padding: 16px 12px 3px;
}

.hotUl{
    list-style: none;
    padding: 0px;

}
.hotUl li{
    width: 48%;
    display: inline-block;
    cursor:pointer;
}

.rigthGoodsImg{
    width: 100%;
}

.hotfigcaption p,.rigthGoodsH6{
    text-align: center;
}

@media only screen and (max-width:50em){
    .rigthGoods{
        display: none;
    }
}

/* 购物车侧边 */
.sidebar{
    display: none;
    width: 23%;
    height: 100VH;
    background-color: white;
    /* 定位 */
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 3;
}

.sidebar h4{
    background: #000;
    color: #fff;
    line-height: 2.2rem;
    padding: 2rem 0;
    text-align: center;
    font-size: 2rem;
    font-weight: normal;
    margin: 0px;
    width: 23%;
    /* 定位 */
    position: fixed;
    top: 0px;
}

.cartUl{
    margin-top: 6rem;
}

.deleteC{
    position: fixed;
    top: 0px;
    right: 0px;
    margin-right: 2rem;
    cursor: pointer;
}


.bottomDiv{
    position: fixed;
    bottom: 0px;
    width: 23%;
}




